Skip to content

Refactor multi ruleset design#56

Merged
botingw merged 43 commits into
mainfrom
refactor_multi_ruleset_design
Sep 13, 2025
Merged

Refactor multi ruleset design#56
botingw merged 43 commits into
mainfrom
refactor_multi_ruleset_design

Conversation

@botingw

@botingw botingw commented Sep 13, 2025

Copy link
Copy Markdown
Owner
  • support add pack from built-in, community pack contribution, github pack, local pack
  • support add and use multiple rule packs
  • design pack contribution workflow
  • develop pack create and publish helper pack

botingw and others added 30 commits September 4, 2025 19:38
…eset_plan.md-design

docs: expand sync conflict resolution
…ementation-plan

docs: update CLI spec and implementation design for composable packs
This commit makes two corrections to the documentation to more accurately reflect the current behavior of the rule generation system.

1.  **Updates `platform_rules_spec.md`**: Removes the ambiguous "Composition" section and replaces it with a clearer "Conflict Resolution" section. This clarifies that when packs have conflicting rule files, the "first pack wins" based on its order in `selection.json`.

2.  **Updates `support_flexible_ruleset_plan.md`**: Removes a misleading sentence that referred to generating "combined rule files," which is not how the system currently works.
docs: Create TDD plan and refactor feature documentation for manage_rules CLI
This commit addresses user feedback on the initial implementation of
Phase 2 of the 'Composable Packs' refactoring.

Key changes include:
- A new constant, `TARGET_INTERNAL_STATE_DIR`, has been introduced for
  the `.rulebook-ai` directory and is used throughout the codebase for
  consistency.
- The logic that explicitly created `memory/` and `tools/`
  directories with a `.gitkeep` file has been removed. These
  directories will now only be created if a pack contains starter
  files for them, which aligns with the behavior of the previous
  version.
- The integration tests have been updated to reflect these changes.
feat: Implement Composable Packs Refactoring (Phases 1 & 2)
…sts-for-cli-command

feat: add sync and cleaning commands
…-plans

docs: refine manage-rules spec and planning for multi-packs UX improve
…oved-user-experience

## Summary
- follow task_plan.md and TDD_plan.md and implementation_update_plan.md to refactor
- implement packs, profile, project command categories
- update unit/integration tests
…c-concerns

docs: clarify community pack resolution and add planning docs
…n-documents

feat: install and list community packs
…ucture-requirements

Add pack structure specification and authoring guide pack
…cks no error, no pack structure validation for local pack
@botingw botingw added the enhancement New feature or request label Sep 13, 2025
@botingw botingw merged commit d28e38a into main Sep 13, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant